﻿<UserControl  x:Class="MemoBoss.Help"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit"
    xmlns:local="clr-namespace:MemoBoss"
    mc:Ignorable="d"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    d:DesignWidth="480" d:DesignHeight="800">
    <UserControl.Resources>
        <local:AppSettings x:Key="appSettings"></local:AppSettings>
        <Storyboard x:Name="Hide">
            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="LayoutRoot">
                <EasingDoubleKeyFrame KeyTime="0" Value="1"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="0"/>
            </DoubleAnimationUsingKeyFrames>
            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TranslateTransform.X)" Storyboard.TargetName="LayoutRoot">
                <EasingDoubleKeyFrame KeyTime="0" Value="0"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.4" Value="500"/>
            </DoubleAnimationUsingKeyFrames>
            <!--<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(ScaleTransform.ScaleY)" Storyboard.TargetName="LayoutRoot">
                <EasingDoubleKeyFrame KeyTime="0" Value="1"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.4" Value="0"/>
            </DoubleAnimationUsingKeyFrames>-->
            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="LayoutRoot">
                <DiscreteObjectKeyFrame KeyTime="0" >
                    <DiscreteObjectKeyFrame.Value>
                        <Visibility>Collapsed</Visibility>
                    </DiscreteObjectKeyFrame.Value>
                </DiscreteObjectKeyFrame>
            </ObjectAnimationUsingKeyFrames>
        </Storyboard>
        <Storyboard x:Name="Show"  Completed="Show_Completed">
            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="LayoutRoot">
                <EasingDoubleKeyFrame KeyTime="0" Value="0"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="1"/>
            </DoubleAnimationUsingKeyFrames>
            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TranslateTransform.X)" Storyboard.TargetName="LayoutRoot">
                <EasingDoubleKeyFrame KeyTime="0" Value="500"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.4" Value="0"/>
            </DoubleAnimationUsingKeyFrames>
            <!--<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(ScaleTransform.ScaleY)" Storyboard.TargetName="LayoutRoot">
                <EasingDoubleKeyFrame KeyTime="0" Value="0"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.4" Value="1"/>
            </DoubleAnimationUsingKeyFrames>-->
            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="LayoutRoot">
                <DiscreteObjectKeyFrame KeyTime="0" >
                    <DiscreteObjectKeyFrame.Value>
                        <Visibility>Visible</Visibility>
                    </DiscreteObjectKeyFrame.Value>
                </DiscreteObjectKeyFrame>
            </ObjectAnimationUsingKeyFrames>
        </Storyboard>
    </UserControl.Resources>
    <Grid x:Name="LayoutRoot" Loaded="LayoutRoot_Loaded" RenderTransformOrigin="0.5,0.5">
        <Grid.RenderTransform>
            <TranslateTransform/>
        </Grid.RenderTransform>
       
        <Grid x:Name="ContentPanel"  Margin="12,0,12,0" >
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="auto"/>
                <ColumnDefinition Width="*"/>
            </Grid.ColumnDefinitions>

            <Grid x:Name="btnBack" Margin="10,10,10,10" Grid.Column="0" VerticalAlignment="Top"  Tap="btnBack_Tap">
                <Image   Stretch="None" Source="/Icons/appbar.back.rest.png"  HorizontalAlignment="Left" />
                <Image   Stretch="None" Source="/Icons/appbar.basecircle.rest.png"  HorizontalAlignment="Left" />
            </Grid>
            <!--ContentPanel - place additional content here-->
            <Grid   Grid.Column="1" Margin="12,0,12,0">
                <ScrollViewer     ScrollViewer.VerticalScrollBarVisibility="Hidden" Margin="0,0,0,10">
                    <Grid >
                        <Grid.RowDefinitions>
                            <RowDefinition Height="*"/>
                        </Grid.RowDefinitions>
                    <StackPanel >
                        <TextBlock   Foreground="#FFFFDEF2"  HorizontalAlignment="Stretch" Margin="10,10,10,10"   VerticalAlignment="Stretch" TextTrimming="None" TextWrapping="Wrap">
So, you're actually reading this? Howdy, then! "Memo Boss" is a traditional memory match game. But I tried my best to make it a bit different and special just for 
you, my friend. And what makes it special? Well, its the only one that lets you play using your own pictures from your phones gallery. And it's all made very 
simple. Just select "Use All" in the Options menu and the game will allways use random pictures from your pictures hub, also the ones that you take or import 
later.
                            </TextBlock>
                        <TextBlock    Foreground="#FFFFDEF2" HorizontalAlignment="Stretch" Margin="10,10,10,10" VerticalAlignment="Stretch" TextTrimming="None" TextWrapping="Wrap">
If you still want to decide which pictures to use in the game, do so by going to the "Collection" in the options menu. It also may come in handy when you want to 
exclude similar pictures or duplicates, because these, obviously, could ruin your game. Select albums you want to use and then swipe to the pictures to 
select/deselect specific images. You must have at least 20 pictures selected to be able to play the game.
                        </TextBlock>
                        <TextBlock   Foreground="#FFFFDEF2"  HorizontalAlignment="Stretch" Margin="10,10,10,10" VerticalAlignment="Stretch" TextTrimming="None" TextWrapping="Wrap">
The game chalenges you with 25 different levels that get harder and harder as you play. After level 25 you continue the game with a full card boar, but the time limit gets shorter with each next level. You also have three difficulty options, that respectively affect the game from the very beginning. So your'e saying, you play like a BOSS? Beat the "Memo Boss" mode then, tough guy!
                        </TextBlock>
                        
                        <TextBlock Foreground="#FFFFDEF2"  HorizontalAlignment="Stretch" Margin="10,10,10,10"  VerticalAlignment="Stretch"  TextWrapping="Wrap">
If you find the "pseudo 3D" effect annoying (when tilting the phone), just turn it off in the options menu. That's an experimental feature, which is also 
supposed to make this game a bit more special.
                            </TextBlock>
                            <TextBlock Foreground="#FFFFDEF2"  HorizontalAlignment="Stretch" Margin="10,10,10,10"  VerticalAlignment="Stretch"  TextWrapping="Wrap">
But if you really like Memo Boss please let me know, by rating it or by writing a short hello via email in the "About" page. Much appreciated!
                            </TextBlock>
                            <TextBlock Foreground="#FFFFDEF2"  HorizontalAlignment="Stretch" Margin="10,10,10,10"  VerticalAlignment="Stretch"  TextWrapping="Wrap">
Well, what can I say.. buy the game and play it at least once a week. Eat fish - good fo de brein! Good luck and greetings from Lithuania!
                            </TextBlock>
                            <TextBlock Foreground="#FFFFDEF2" HorizontalAlignment="Stretch" Margin="10,10,10,10"  VerticalAlignment="Stretch"  TextWrapping="Wrap">
Yours, Vincent
                        </TextBlock>
                    </StackPanel>
                    </Grid>
                </ScrollViewer>
            </Grid>
        </Grid>
    </Grid>
</UserControl>
